Skip to content

chore: shared Windows agent launcher and full third-party licence notices - #41

Merged
nodemode-ai merged 4 commits into
mainfrom
chore/launcher-and-notices
Nov 30, 2026
Merged

nodemode-ai merged 4 commits into
mainfrom
chore/launcher-and-notices

Conversation

@gbarnai

@gbarnai gbarnai commented Nov 29, 2026 •

Copy link
Copy Markdown
Collaborator

chore: shared Windows agent launcher and full third-party licence notices

Summary

  • The shared agent finder, backend/app/services/agent_lookup.py, is 1.1.0: one file for every Form app to take unchanged. On Windows it follows npm, pnpm and bun shims, in any letter case or with trailing dots or spaces, to the node or bun script or the .exe they wrap, and starts that with an argv list. Through cmd.exe, a word or program path with a character the interpreter acts on is refused, and so is a quoted program path that cmd /c would strip.
  • setup/agents.py records the 1.1.0 hash in LOOKUP_HASHES, and docs/AGENT_LOOKUP.md says how other apps copy the file.
  • licenses/ now covers everything that ships. The Rust crates are one generated licenses/rust-crates.txt with each crate's own licence files from the registry, in place of the cargo-about pages that had fallen behind the lock files (src-tauri/about.toml and src-tauri/about.hbs are removed). The collector adds the Python interpreter's licence, a note for the FFmpeg build the engine downloads, and a note for each package that carries no licence file.
  • setup/licence_texts/ keeps the licence files of the 69 crates and the flatbuffers wheel that publish none, taken from each upstream repository at the published commit or tag, or the SPDX standard text where upstream has none (dispatch, selectors 0.36.1, sigchld), each with a SOURCE.txt.
  • setup/collect_licenses.py --check fails when something that ships has no texts, and the CI test job runs it before the engine tests. The About box says where the texts are installed.
  • Main (2.8.5) is merged in. Both conflicts were in the HASHOUT logs and had one cause: this branch added its entries directly above a heading that the release commit restamped to _v2.8.5. The branch's entries stay on top, word for word, and the heading under them takes main's stamp.

Commits

Oldest first. The first three are gbarnai's, already on this branch, and are not changed.

  • fix(agents): the shared finder is 1.1.0, one Windows starter for npm, pnpm and bun shims (83ea827)
  • fix(licences): licenses/ covers every crate, the Python runtime and the downloaded FFmpeg, checked in CI (243dd42)
  • fix(licences): the crates and flatbuffers that ship no licence file carry their upstream texts (8a8b83e)
  • Merge main (2.8.5) into chore/launcher-and-notices (its hash changes when it is signed)

Version

No new version and no release commit. The version sites read 2.8.5, from main, and this pull request moves none of them. It ships in the next release.

Checks

Run on the merged tree, on Linux with Python 3.12 and Node 22: every step of .github/workflows/ci.yml, all passing.

  • test: python setup/collect_licenses.py --check ("licenses/ covers everything that ships"), then the engine tests: 671 passed, 9 skipped (models that need a download, and macOS-only layout tests).
  • backend: python formvis_engine.py --selfcheck, then the engine booted and answered /api/health and /api/capabilities as 2.8.5.
  • frontend: npm ci, npm audit --audit-level=low (0 vulnerabilities), npm test (301 passed), npm run build.
  • lint: npx tsc --noEmit -p ., compileall, the workflow files parse, setup/release_notes.py v2.8.5.
  • window: the smoke tests in frontend/tests/window (2 passed).
  • scripts: shell syntax, and no em dash in tracked markdown or emoji in tracked text.

From gbarnai's own description of the three commits: the licence check and the finder tests were run on macOS.

Not run: anything on macOS or Windows after the merge, and a real pnpm or bun install on Windows.

Merging

Merge with a merge commit so each commit stays as it is. Do not squash.

… pnpm and bun shims

Shims in any letter case or with trailing dots or spaces are followed to the node or bun script or the exe they wrap
and started with an argv list. Through cmd.exe, a word or program path with a character the interpreter acts on is
refused, and so is a quoted program path that cmd /c would strip. The hash is recorded in LOOKUP_HASHES and
docs/AGENT_LOOKUP.md says how other apps copy the file.
…he downloaded FFmpeg, checked in CI

The Rust crates are now one generated rust-crates.txt with each crate's own licence files from the registry, replacing
the cargo-about pages that had fallen behind the lock files. The collector adds the interpreter's licence, a note for
the FFmpeg build the engine downloads, notes for packages that carry no licence file, and a --check mode that the CI
test job runs. The About box says where the texts are installed.
@gbarnai
gbarnai requested a review from nodemode-ai as a code owner November 29, 2026 23:15
gbarnai and others added 2 commits November 29, 2026 19:57
…arry their upstream texts

setup/licence_texts/ keeps the licence files of the 69 crates and the flatbuffers wheel that publish none, taken from
each upstream repository at the published commit or tag, or the SPDX standard text with the holders the metadata names
where upstream has none (dispatch, selectors 0.36.1, sigchld), each with a SOURCE.txt. The collector prints them in
rust-crates.txt under a note naming their source and copies them into licenses/python/flatbuffers/; --check fails when
an entry is bare while texts are kept for it.
Resolve the two conflicts with the 2.8.5 release commit (65f24eb), in
backend/HASHOUT_LOG.md and frontend/HASHOUT_LOG.md. Both had one cause:
this branch added its entries directly above a heading that the release
restamped from "unreleased" to "_v2.8.5". The branch's entries (three in
the backend log, one in the frontend log) stay on top, word for word,
and the heading under them takes main's "_v2.8.5" stamp. No other file
conflicted, and nothing else was edited by hand.

The four entries this branch adds keep their "after 2.8.4, unreleased"
stamps, as written; the next release commit stamps them.

Seen on the merged tree, on Linux with Python 3.12 and Node 22, every
step of ci.yml: setup/collect_licenses.py --check, the engine tests (671
passed, 9 skipped for models and macOS), the engine's --selfcheck and
boot probe, npm ci, npm audit, tsc --noEmit, npm test (301), npm run
build, compileall, the workflow parse, setup/release_notes.py v2.8.5,
the shell syntax pass, the em dash and emoji scan, and the window smoke
tests (2). Not run: macOS and Windows.
@nodemode-ai
nodemode-ai merged commit 338d0f4 into main Nov 30, 2026
6 checks passed
@nodemode-ai
nodemode-ai deleted the chore/launcher-and-notices branch November 30, 2026 20:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants